body, div, p, th, td, li, dd, input, select, textarea {
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;

    margin: 1px;
}

#detail {
    background: #fff;
    float: left;
    padding: 0;
    color: #3e141e;
}

#detail div {
    width: 100%;
}

#detail {
/*font-size: 0.916em; */
    font-size: 0.8em;
    width: 99%;
}

#detail p {
    padding-left: 15px;
    color: #3e141e;
}

#detail table {
    width: 100%;
}

#detail table td {
    vertical-align: top;
    padding: 0 10px 0;
    background: #d6d6c2;
    border-bottom: 1px solid #fff;
}

#detail p.flavor,
#detail span.flavor,
#detail ul.flavor {
    display: block;
    padding: 2px 5px;
    margin: 0;
    background: #d6d6c2;
}

#detail p.powerstat {
    padding: 0 0 0 15px;
    margin: 0;
    background: #FFFFFF;
}

#detail span.ritualstats {
    float: right;
    padding: 0 30px 0 0;
}

#detail p.flavorIndent {
    display: block;
    padding: 2px 15px 2px 10px;
    margin: 0;
    background: #d6d6c2;
}

#detail p.flavorIndent1 {
    display: block;
    padding: 2px 15px 2px 18px;
    margin: 0;
    background: #d6d6c2;
}

#detail p.flavorIndent2 {
    display: block;
    padding: 2px 15px 2px 26px;
    margin: 0;
    background: #d6d6c2;
}

#detail p.alt,
#detail span.alt,
#detail td.alt {
    background: #c3c6ad;
}

#detail th {
    background: #1d3d5e;
    color: #fff;
    text-align: left;
    padding: 0 0 0 5px;
}

#detail i,
#detail em {
    font-style: italic;
}

#detail ul {
    list-style: disc;
    margin: 1em 0 1em 30px;
}

#detail table,
#detail ul.flavor {
    margin-bottom: 1em;
}

#detail ul li {
    color: #3e141e;
}

#detail ul.flavor li {
    list-style-image: url("bullet.gif");
    margin-left: 15px;
}

#detail a {
    color: #3e141e;
}

#detail blockquote {
    padding: 0 0 0 22px;
    background: #d6d6c2;
}

#detail h1 {
    font-size: 1.09em;
    line-height: 2;
    padding-left: 15px;
    margin: 0;
    color: #fff;
    background: #000;
}

#detail h1.player {
    background: #1d3d5e;
    font-size: 1.35em;
}

#detail h1.monster {
    background: #4e5c2e;
}

#detail h1.dm {
    background: #5c1f34;
}

#detail h1.trap {
    background: #5c1f34;
    height: 38px;
}

#detail h1.atwillpower {
    background: #619869;
}

#detail h1.encounterpower {
    background: #961334;
}

#detail h1.dailypower {
    background: #4d4d4f;
}

#detail h1.magicitem {
    background: #d8941d;
}

#detail h1.utilitypower {
    background: #1c3d5f;
}

#detail h1 .level {
    padding-right: 15px;
    margin-top: 0;
    text-align: right;
    float: right;
}

#detail h1.monster .level, h1.trap .level {
    margin-top: 0;
    text-align: right;
    position: relative;
    top: -60px;
}

#detail h1.player .type,
#detail h1.monster .type,
#detail h1.monster .xp {
    display: block;
    position: relative;
    z-index: 99;
    top: -0.25em;
    line-height: 1;
    font-weight: normal;
    font-size: 0.917em;
}

/* Traps */
#detail h1.trap .level {
    margin-top: 0;
    text-align: right;
}

#detail h1.trap .type,
#detail h1.trap .xp {
    display: block;
    position: relative;
    z-index: 99;
    top: -0.75em;
    height: 1em;
    font-weight: normal;
    font-size: 0.917em;
}

#detail .traplead {
    display: block;
    padding: 1px 15px;
    margin: 0;
    background: #ffffff;
}

#detail .trapblocktitle {
    display: block;
    padding: 1px 15px;
    margin: 0;
    background: #d6d6c2;
    font-weight: bold;
}

#detail .trapblockbody {
    background: none repeat scroll 0 0 #FFFFFF;
    display: block;
    padding: 1px 15px 1px 30px;
    margin: 0;
}

/* Detail page related link section */
/* -------------------------------------------- */

#detail #RelatedArticles h5 {
    width: 100px;
    float: left;
    padding-top: 10px;
    padding-left: 20px;
    color: #3e141e;
    font-weight: bold;
    padding-left: 20px;
    padding-top: 10px;
    width: 100px;
}

#detail #RelatedArticles ul.RelatedArticles {
    padding: 10px 0 0 0;
    float: right;
    list-style: none outside none;
    margin: 0;
    width: 430px;
}

#detail .bodytable {
    background: none repeat scroll 0 0 #D6D6C2;
    border: 0 none;
    margin: 0; /* width:560px; */
}

#detail .bodytable td {
    border-bottom: medium none;
    padding-left: 15px;
    padding-right: 15px;
}

#detail h2 {
    background: none repeat scroll 0 0 #4E5C2E;
    color: #FFFFFF;
    font-size: 1.25em;
    font-variant: small-caps;
    height: 20px;
    margin: 0;
    padding-left: 5px;
    padding-top: 3px;
}

#detail p.publishedIn {
    font-size: 8pt;
    margin-top: 10px;
}

/* New Trap format */
#detail h1.thHead {
    background: #45133C;
    height:38px;
}

#detail h1.thHead .thDetail {
    display: block;
   	position: relative;
   	z-index: 99;
   	top: -0.75em;
   	height: 1em;
   	font-weight: normal;
   	font-size: 0.917em;
}

#detail h2.thHead {
	display: block;
    background: #65345D;
    color: #FFFFFF;
    /*font-variant: small-caps;*/
    font-size: 11pt;
    line-height: 18px;
    padding-top: 0px;
    vertical-align: bottom;
    height: 18px;
}

#detail p.tbod {
	padding: 0px 0px 0px 45px;
	text-indent: -15px;
	display: block;
	margin: 0;
	background: #E8F2D6;
	font-size:8.75pt;
	color: #000000;
}
#detail p.thInit, #detail p.thStat {
	padding: 0px 0px 0px 15px;
	display: block;
	margin: 0;
	background: #E8F2D6;
	font-size:8.75pt;
	color: #000000;
}

#detail p.th2 {
	padding: 0px 0px 0px 15px;
	display: block;
	margin: 0;
	background: #CADBB7;
	font-size:8.75pt;
	color: #000000;
}

#detail p.thBody {
	padding: 0px 0px 0px 30px;
	text-indent: -15px;
	display: block;
	margin: 0;
	background: #E8F2D6;
	font-size:8.75pt;
	color: #000000;
}